#include <iostream>
using namespace std;

class Base {
public:
	Base (void):m_i(0){
		cout << "Base::Base(void)" << endl;
	}
	Base (int i):m_i(i) {
		cout << "Base::Base(int)" << endl;
	}
	int m_i;
};

class Derived:public Base {
public:
	Derived (void) {
		cout << "Derived::Derived(void)" << endl;
	}
	Derived (int i):Base(i) {
		cout << "Derived::Derived(int)" << endl;
	}
};
int main (void)
{
	Derived d;
	cout << d.m_i << endl;
	Derived d2(1234); 
	cout << d2.m_i << endl;

	return 0;
}
